package com.huawei.appgallery.forum.option.upload.bean;

import androidx.annotation.NonNull;
import com.huawei.appgallery.jsonkit.api.JsonBean;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import o.byl;

public class UploadInfo extends JsonBean {
    private static final int IMAGE_TYPE_ORIGINAL = 0;
    private static final String WIDTH_HEIGHT_TAG = "_";
    private String extension_;
    private long fileLength_;
    private String fileMd5_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String fileName_;
    private String fileSHA256_;
    private int fileType_ = 0;
    private String fileWidthHeight_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String uploadId_;

    public UploadInfo(@NonNull byl o_byl) {
        this.uploadId_ = o_byl.ˋ();
        this.fileName_ = o_byl.ˋ();
        this.fileMd5_ = o_byl.ˎ();
        this.fileSHA256_ = o_byl.ॱ();
        this.fileLength_ = o_byl.ᐝ();
        this.extension_ = o_byl.ʻ();
        this.fileWidthHeight_ = o_byl.ͺ() + "_" + o_byl.ॱˊ();
    }
}
